package com.itheima.day02.Test02;

public class Test {
    public static void main(String[] args) {
        Manager manager = new Manager("李磊", "001", 5000, 4000);
        System.out.println(manager.getId() + manager.getName() + "工资" + manager.getMoney() + ",奖金" + manager.getReward());
        Programmer programmer = new Programmer("小明", "002", 4000);
        System.out.println(programmer.getId() + programmer.getName() + "工资" + programmer.getMoney() + ",没有奖金");
    }
}
